package com.longchat.domain.upload;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the T_UPLOAD_E_ORDER_DETAIL database table.
 * 
 */
@Entity
@Table(name="T_UPLOAD_E_ORDER_DETAIL")
@NamedQuery(name="UploadEOrderDetail.findAll", query="SELECT u FROM UploadEOrderDetail u")
public class UploadEOrderDetail implements Serializable {
	private static final long serialVersionUID = 1L;
	
	@Id
	@SequenceGenerator(name="T_UploadEOrderDetail_ID_GENERATOR" )
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="T_UploadEOrderDetail_ID_GENERATOR")
	@Column(unique=true, nullable=false, precision=22)
	private long id;
	
	@Column(name="BAR_CODE", length=20)
	private String barCode;

	@Column(name="COST_AMOUNT", length=30)
	private String costAmount;

	@Temporal(TemporalType.DATE)
	@Column(name="CREATE_TIME")
	private Date createTime;

	@Column(name="EXPRESS_FEE", length=20)
	private String expressFee;

	@Column(name="EXPRESS_NAME", length=30)
	private String expressName;

	@Column(name="EXTERNAL_ORDER_ID", length=30)
	private String externalOrderId;

	@Column(length=20)
	private String name;

	@Column(name="ORDER_CNT", length=20)
	private String orderCnt;

	@Column(name="ORDER_ID", length=30)
	private String orderId;

	@Column(name="ORDER_TIME", length=20)
	private String orderTime;

	@Column(name="PAY_TIME", length=20)
	private String payTime;

	@Column(name="STORE_NAME", length=50)
	private String storeName;

	@Column(name="USER_ID", precision=22)
	private BigDecimal userId;

	@Column(name="WAREHOUSE_NAME", length=20)
	private String warehouseName;

	public UploadEOrderDetail() {
	}

	public String getBarCode() {
		return this.barCode;
	}

	public void setBarCode(String barCode) {
		this.barCode = barCode;
	}

	public String getCostAmount() {
		return this.costAmount;
	}

	public void setCostAmount(String costAmount) {
		this.costAmount = costAmount;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getExpressFee() {
		return this.expressFee;
	}

	public void setExpressFee(String expressFee) {
		this.expressFee = expressFee;
	}

	public String getExpressName() {
		return this.expressName;
	}

	public void setExpressName(String expressName) {
		this.expressName = expressName;
	}

	public String getExternalOrderId() {
		return this.externalOrderId;
	}

	public void setExternalOrderId(String externalOrderId) {
		this.externalOrderId = externalOrderId;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getOrderCnt() {
		return this.orderCnt;
	}

	public void setOrderCnt(String orderCnt) {
		this.orderCnt = orderCnt;
	}

	public String getOrderId() {
		return this.orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public String getOrderTime() {
		return this.orderTime;
	}

	public void setOrderTime(String orderTime) {
		this.orderTime = orderTime;
	}

	public String getPayTime() {
		return this.payTime;
	}

	public void setPayTime(String payTime) {
		this.payTime = payTime;
	}

	public String getStoreName() {
		return this.storeName;
	}

	public void setStoreName(String storeName) {
		this.storeName = storeName;
	}

	public BigDecimal getUserId() {
		return this.userId;
	}

	public void setUserId(BigDecimal userId) {
		this.userId = userId;
	}

	public String getWarehouseName() {
		return this.warehouseName;
	}

	public void setWarehouseName(String warehouseName) {
		this.warehouseName = warehouseName;
	}

}